$('#search').click(function () {
    //表单序列化
    var search= $('.search').serialize();
    var mould_name=$('#mould_name').val();
    if(mould_name=="") {
        alert("请输入搜索值");
    }else {
        $.ajax({
            'type':'POST',
            'url':'/logistics/logistics',
            'dataType':'json',
            'async': false,
            'data':{name:mould_name},

            success: function (msg) {
                alert("Data Saved:success " + msg);
            },

            error: function (msg) {
                alert("Data Saved:error " + msg);
            },
        });
    }
})
